# -*- coding: utf-8 -*-
import math

# 1.三大特性 封装、继承、多态
# 2.
class Func:
    def __init__(self,a1):
        self.a1 = a1
    def print_f(self):
        print(self.a1)
# 7. None
# 8. 
class Circle:
    def __init__(self,r):
        self.r = r
    def perimeter(self):
        print(2*math.pi*self.r)
    def area(self):
        print(math.pi*self.r**2)
# 11.'foo.f0'
#    'base1.f3'
#    'base1.f1'
        
#13.
class User:
    def __init__(self,name,pwd,mail):
        self.name = name
        self.pwd = pwd
        self.mail = mail
user_list = []
while True:
    user = input('请输入用户:')
    pwd = input('请输入密码')
    mail = input('请输入邮箱:')
    temp = User(user,pwd,mail)
    user_list.append(temp)
    if len(user_list) == 3:
        for item in user_list:
            msg = '用户名：%s\n密码：%s\n邮箱:%s\n'%(item.name,item.pwd,item.mail)
            print(msg)
        break
    
#14.        